package com.homework.ch04;

import java.util.Arrays;

public class Test01 {
    public static void main(String[] args) {
        //第一种动态初始化
        String[] arr1=new String[3];
        arr1[0]="a";
        arr1[1]="b";
        arr1[2]="c";
        //第二/三/四种静态初始化
        String[] arr2=new String[]{"a","b","c"};
        String[] arr3;
        arr3=new String[]{"a","b","c"};
        String[] arr4={"a","b","c"};

    }
}
